package cn.jvtc.course.management.system.bean;

import java.util.Date;

/**
 * 教师课程表的数据对象，数据库映射实体
 *
 * @author GaoFeng2017
 * @date 2017-12-11 21:43:32
 **/

public class TeacherLessonDO {
    private long id;
    private Date createTime;
    private Date modifiedTime;
    private String name;
    private String period;
    private byte campus;
    private String classroom;
    private byte weekday;
    private byte weekType;
    private long teacherId;
    private long yearTermId;

    public TeacherLessonDO() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public byte getCampus() {
        return campus;
    }

    public void setCampus(byte campus) {
        this.campus = campus;
    }

    public String getClassroom() {
        return classroom;
    }

    public void setClassroom(String classroom) {
        this.classroom = classroom;
    }

    public byte getWeekday() {
        return weekday;
    }

    public void setWeekday(byte weekday) {
        this.weekday = weekday;
    }

    public byte getWeekType() {
        return weekType;
    }

    public void setWeekType(byte weekType) {
        this.weekType = weekType;
    }

    public long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(long teacherId) {
        this.teacherId = teacherId;
    }

    public long getYearTermId() {
        return yearTermId;
    }

    public void setYearTermId(long yearTermId) {
        this.yearTermId = yearTermId;
    }

    @Override
    public String toString() {
        return "TeacherLessonDO{" +
                "id=" + id +
                ", createTime=" + createTime +
                ", modifiedTime=" + modifiedTime +
                ", name='" + name + '\'' +
                ", period='" + period + '\'' +
                ", campus=" + campus +
                ", classroom='" + classroom + '\'' +
                ", weekday=" + weekday +
                ", weekType=" + weekType +
                ", teacherId=" + teacherId +
                ", yearTermId=" + yearTermId +
                '}';
    }
}
